package com.net.xpay.common.manager.notify;

import com.net.xpay.common.domain.notify.ChargeNotifyRecord;
import com.net.xpay.common.model.search.ChargeNotifyRecordSearchModel;
import com.net.common.manager.DomainManager;

import java.time.LocalDateTime;
import java.util.List;


public interface ChargeNotifyRecordManager extends DomainManager<Long, ChargeNotifyRecord> {
    ChargeNotifyRecord findByBatchId(Long batchId);

    List<ChargeNotifyRecord> search(ChargeNotifyRecordSearchModel searchModel);

    long searchCount(ChargeNotifyRecordSearchModel searchModel);

    int deleteFinishedRecord(LocalDateTime deadline);
}
